package com.nit.lab.entity.basic;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @文件名：DeptEntity
 * @创建人: SN
 * @创建时间: 2020/3/23
 * @描述:
 */
public class DeptEntity {

    private Long deptId;
    private String deptName;
    private String deptInfo;
    private Long deptFather;
    private Long deptType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;


    public DeptEntity() {
    }

    public DeptEntity(Long deptId, String deptName, String deptInfo, Long deptFather, Long deptType, Date gmtCreate) {
        this.deptId = deptId;
        this.deptName = deptName;
        this.deptInfo = deptInfo;
        this.deptFather = deptFather;
        this.deptType = deptType;
        this.gmtCreate = gmtCreate;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptInfo() {
        return deptInfo;
    }

    public void setDeptInfo(String deptInfo) {
        this.deptInfo = deptInfo;
    }

    public Long getDeptFather() {
        return deptFather;
    }

    public void setDeptFather(Long deptFather) {
        this.deptFather = deptFather;
    }

    public Long getDeptType() {
        return deptType;
    }

    public void setDeptType(Long deptType) {
        this.deptType = deptType;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
